<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="__PUBLIC__/dispatch.css">
    <script src="__PUBLIC__/dispatch.js"></script>
	<script type="text/javascript">
	window.onload=function(){
		altRows('alternatecolor');
	}
	</script>
</head>
<body>
<h4>标签列表</h4>
<a href="./link">到链接列表</a>
<a href="javascript:confirm('确定注销？')?location.href='./logout':false;" >注销</a>
<a href="javascript:confirm('确定添加？')?location.href='./tag_auto_add':false;">自动增加10个标签</a>
<div>
	<table width="100%" id="alternatecolor" border="0" cellpadding="3" cellspacing="0" >
		<tr>
			<th>序号</th>
			<th>编号</th>
			<th>链接</th>
		</tr>
		<?php $i=0;foreach($tags as $tag): ?>
			<tr>
				<td class="no"><?php echo ++$i; ?></td>
				<td><?php echo $tag['name'] ?></td>
				<td><?php echo $tag['tag'] ?></td>
			</tr>
		<?php endforeach ?>
	</table>
</div>

</body>
</html>